package com.xuecheng.user.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 勾新杰
 * @version 1.0
 * @description:
 * @date 2025/2/24 22:26
 */
@Data
@ApiModel(description = "找回密码请求参数")
public class FindPasswordDTO {

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String cellphone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 验证码key
     */
    @NotBlank(message = "验证码key不能为空")
    @ApiModelProperty(value = "验证码key")
    private String checkcodekey;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String checkcode;

    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码不能为空")
    @ApiModelProperty(value = "确认密码")
    private String confirmpwd;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码")
    private String password;
}
